how to launch url in flutter web

190

import 'dart:html' as html;
void htmlOpenLink() {
  String url = 'https://flutter.dev'; 
  html.window.open(url, '_blank');
}
import 'dart:html';

var url = window.location.href;

Comments

Submit
0 Comments